import request from "@/utils/request";

/**
 * 获取用户所有收藏
 */
export const getUserCollect = () => {
    return request.get('/collect');
}

/**
 * 取消收藏
 */
export const cancelCollect = (ids) => {
    return request.delete('/collect', ids);
}
